﻿<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="NutrientsintroEdit.aspx.cs" Inherits="StoragePeriod.Web.Nutritionknowledge.NutrientContent.NutrientsintroEdit" %>
<%@ Register src="/UserControls/FCKEditor/FCKContent.ascx" tagname="FCKContent" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="/Styles/MainStyle.css" rel="stylesheet" type="text/css" />
    <link href="/Scripts/artDialog/skins/default.css" rel="stylesheet" type="text/css" />
    <script src="/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <style type="text/css">
        table td{ padding:5px 0px;}
    </style>
    <script type="text/javascript">
        //验证
        function IsV() {
            var b = true;
            if ($("E_Title").val()=="") {
                alert("请输入标题!");
                return false;
            }
            return b;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div style="width:800px;padding-top:10px;">
            <table border="0" cellpadding="0" cellspacing="0" width="98%" style="margin:0px auto;">
                <tr>
                    <td style="width:80px;" align="right">请选择分类：</td>
                    <td> 
                        <asp:DropDownList ID="dr_type" CssClass="select_bg01" Style="width: 160px;" runat="server">
                            <asp:ListItem Value="0">营养知识</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td align="right">标题：</td>
                    <td>
                            <asp:TextBox ID="E_Title" runat="server" Width="500px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">内容：</td>
                    <td><uc1:FCKContent ID="FCK_Content" runat="server"  Width="100%" Height="400px;"/></td>
                </tr>
            </table>
        </div>
        <div class="aui_buttons">
            <asp:Button Text="提交" runat="server" CssClass="aui_state_highlight" ID="btPost" OnClientClick="return IsV()" OnClick="btPost_Click" />
        </div>
    </form>
</body>
</html>
